package com.weiawei.net;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

public class NetContainer implements Runnable {
    protected DataInputStream in;
    protected DataOutputStream out;
    protected String message;

    /**
     * 获取输入流
     *
     * @return 输入流
     */
    public DataInputStream getIn() {
        return in;
    }

    /**
     * 初始化IO流
     *
     * @throws IOException
     */
    public void initIO() throws IOException {

    }

    /**
     * 获取输出流
     *
     * @return 输出流
     */
    public DataOutputStream getOut() {
        return out;
    }

    @Override
    public void run() {

    }
}
